#include "userinfo.h"

UserInfo UserInfo::instance;
UserInfo *UserInfo::getInstance()
{
    return &instance;
}

UserInfo::UserInfo()
{

}

const QString &UserInfo::getUserName() const
{
    return userName;
}

void UserInfo::setUserName(const QString &newUserName)
{
    userName = newUserName;
}

const QString &UserInfo::getUid() const
{
    return uid;
}

void UserInfo::setUid(const QString &newUid)
{
    uid = newUid;
}

int UserInfo::getFriendNum() const
{
    return friendNum;
}

void UserInfo::setFriendNum(int newFriendNum)
{
    friendNum = newFriendNum;
}

const QString &UserInfo::getUserPic() const
{
    return userPic;
}

void UserInfo::setUserPic(const QString &newUserPic)
{
    userPic = newUserPic;
}
